/* pages/cart/index.wxss */
.cartPopup {
  height:100vh;
  display: flex;
  flex-direction: column;

  .tittle {
    align-items: center;
    width: 100%;
    display: flex;
    justify-content: center;
    height: 100rpx;
    font-size: var(--bigSize);
    font-weight: 550;
    line-height: 3;
    background-color:  var(--defaultBgc);
  }
}

.shopcart {
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  background-color: var(--defaultBgc);
  //减去title和底部提交区域
  height: calc(100vh - 260rpx) !important;

  .cartItem {
    display: flex;
    flex-direction: row;
    width: 100%;
    margin-top: 15rpx;
    background-color: white;

    .checkbox {
      width: 80rpx;
      display: flex;
      flex-direction: row;
      justify-content: center;
      align-items: center;

      .van-checkbox__label {
        padding-left: 0;
      }
    }

    van-card {
      flex: 1;

      .footer {
        display: flex;
        justify-content: space-between;
        height: 50rpx;

        input {
          text-align: center;
          width: 70rpx;
          height: 40rpx;
          display: block;
        }
      }
    }

    .van-card {
      background-color: white;
    }
  }
}

.cartSubmitButton {
  background-color: var(--themeColor) !important;
  border-color: var(--themeColor) !important;
}

.cartPrice {
  color: var(--themeColor) !important;
  font-weight: 550 !important;
}